package main

import (
	"fmt"
	"strconv"
)

type TwoInts struct {
	a, b int
}

func main() {
	t := new(TwoInts)
	t.a = 12
	t.b = 10

	fmt.Printf("two1 is: %v\n", t)
	fmt.Println("two1 is:", t)
	fmt.Printf("two1 is: %T\n", t)
	fmt.Printf("two1 is: %#v\n", t)
}

func (t *TwoInts) String() string {
	return "(" + strconv.Itoa(t.a) + "/" + strconv.Itoa(t.b) + ")"
}
